import { Alert } from "antd";

const HeaderTips = ({ type }) => {

  return (
    <Alert 
      description={
        <>
          <span>
            1、智能快递：如果是自动策略的执行，只对
            <span className="common-color9">“无快递”</span>
            的订单有效；如果是手动策略，则对
            <span className="common-color9">“已有快递”</span>和
            <span className="common-color9">“无快递”</span>
            的订单都有效
          </span>
          <br />
          {type == 'manualExecute' ? <span>2、对<span className="common-color9">“已回传”</span>的订单，智能快递重算会略过。</span> : null}
        </>
      }
    />
  )
}

export default HeaderTips;
